file=open("D:\hello.txt","w")
massage=input("输入文本：")
file.write(massage)